package com.gcspring.h2db.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: guc
 * @Description: 数据设置
 * @Date: 2022-8-24 10:22
 * @Version: 1.0
 */
@Component
@ConfigurationProperties(prefix = "server-1400")
public class Server1400Config {
    //小区编码
    private String xqbm;
    //服务地址
    private String baseUrl;
    private String dataSourceId;
    private String user;
    private String password;
    //中心编码 8位  41010268 郑州市公安局中原分局桐柏路派出所
    private String centerNumber;

    public String getXqbm() {
        return xqbm;
    }

    public void setXqbm(String xqbm) {
        this.xqbm = xqbm;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getDataSourceId() {
        return dataSourceId;
    }

    public void setDataSourceId(String dataSourceId) {
        this.dataSourceId = dataSourceId;
    }

    public String getUser() {
        return user == null ? "" : user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password == null ? "" : password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCenterNumber() {
        return centerNumber;
    }

    public void setCenterNumber(String centerNumber) {
        this.centerNumber = centerNumber;
    }
}
